
import 'package:ai_model/app/core/network/core/api_client.dart';
import 'package:ai_model/app/core/network/core/net_data.dart';
import 'package:ai_model/app/core/network/data/basic_entity.dart';

/// 用户相关API扩展
extension UserApiExtension on ApiClient {
  /// TODO 需要根据具体情况实现
  /// 获取登录用户信息
  Future<NetData<BasicEntity?>> getLoginUserInfo() async {
    return request<BasicEntity>('app/getLoginUserInfo',
        method: 'GET');
  }

}
